package huanzhao.erp.domain.types;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author April
 * 2024/6/12 上午11:12
 * @version 1.0
 */
@Getter
public enum OperationType {
    ADD("添加"),
    DELETE("删除"),
    UPDATE("修改"),
    TRANSFER("转调"),
    RECEIVE("收到"),
    FINISH("完成"),
    TAKE("领取"),
    REJECT("拒绝"),
    TIMEOUT("超时");

    @EnumValue
    @JsonValue
    private final String value;

    OperationType(String value) {
        this.value = value;
    }
}
